package week03.starbucks_ex;

public class IceCream extends DrinkDecorator{
    private double price = 55;

    public IceCream(IDrink drink) {
        super(drink);
    }

    public double getPrice() {
        double total=drink.getPrice()+price;
        System.out.println("AddIceCream："+total);
        return total;
    }

}
